package com.tachoknight.geocaching;

public class Waypoint
{
    private String name;
    private String latitude;
    private String longitude;

    public Waypoint(String name, String latitude, String longitude)
    {
        this.name = name;
        this.latitude = latitude;
        this.longitude = longitude;
    }
    
    public String getName()
    {
        return name;
    }
    public String getLatitude()
    {
        return latitude;
    }
    public String getLongitude()
    {
        return longitude;
    }
    
    /* This is the format Google Maps wants it in */
    public String getFormattedWaypointForGM()
    {
        return name + "@" + latitude + "," + longitude;
    }

}
